J
jc
I am having trouble getting my own DLLs to work with the above module
(ver 0.55).
I can get the examples to work from the write up that involve the DLLs
from kernal32,
but not from my own little DLL project file.
I fear I need a simple example DLL project for MS Visual C++ 6 that
does work.
Can anyone help here?
The current fault I have is;
"Can't call method "Call" on an undefined value at Win32API_Testing.pl
line 44."
With the following lines of PERL code:
use Win32::API;
$function = Win32::API->new(
'C:\\User_JC\\Perl\\Module_Win32\\DLL\\test\\Debug\\test.dll',
'int ANSIchar(int a, int b)'
);
$return = $function->Call( 1, 2 ) ; # This is line 44
I have change this around but $function is always undefined.
I am not sure if Win32::API is the appropriate tool for accessing user
DLLs. ??
Regards JC....
(ver 0.55).
I can get the examples to work from the write up that involve the DLLs
from kernal32,
but not from my own little DLL project file.
I fear I need a simple example DLL project for MS Visual C++ 6 that
does work.
Can anyone help here?
The current fault I have is;
"Can't call method "Call" on an undefined value at Win32API_Testing.pl
line 44."
With the following lines of PERL code:
use Win32::API;
$function = Win32::API->new(
'C:\\User_JC\\Perl\\Module_Win32\\DLL\\test\\Debug\\test.dll',
'int ANSIchar(int a, int b)'
);
$return = $function->Call( 1, 2 ) ; # This is line 44
I have change this around but $function is always undefined.
I am not sure if Win32::API is the appropriate tool for accessing user
DLLs. ??
Regards JC....