Type: Posts; User: slaphap
Search took 0.00 seconds.
September 26th, 2005, 10:07 AM
Thanks for the help rxbagain. The problem is that this will be used with other source code other than VB and have been edicted to not use activeXdlls. I think I am getting a better grasp on things...
September 23rd, 2005, 03:04 PM
In the main calling code I changed the line from
ParseBDF StrConv(FName, vbUniCode)
checking FName in the dll gives the correct filename for FName.
September 23rd, 2005, 02:59 PM
Actually, the close FNum statement is not the culprit. I added a message box after that line to see what FName is, and it comes up ?????????. However, just before calling the dll I have teh same...
September 23rd, 2005, 02:43 PM
The actuall dll code is rather long, but the calling routine is as follows
Private Declare Sub ParseBDF Lib _
"C:\MyDllLibrary\BDF Parser\BDFParserDLL.dll" _
(ByVal FName As String) ',...
September 23rd, 2005, 02:30 PM
I am trying to pass a filename from and executable to a dll and I get the error listed in the title. Any thoughts on how to correct this?
September 22nd, 2005, 01:02 PM
Must have had something wrong when I tried your last suggestion of converting the string to unicode before passing to the dll. I tried it again and it seems to be working fine now. ...
September 22nd, 2005, 09:29 AM
Sorry for the long delay in replying, I have been out of the office for the last week. converiting to unicode before passing to the dll didn't work. I added a line in the code to see...
September 16th, 2005, 02:25 PM
yes to the first question
tFSR and tFSL are the same functions in the dll. Just making a check for this example. Here they are.
'this function right justifies FSString into a field StrinLen...
September 16th, 2005, 02:10 PM
ok, this works when for truncating the length, but now I no longer get the string returned. Instead, I get ?? in place of the string.
September 16th, 2005, 01:17 PM
mind you, this is a rather simple test code
Private Declare Function FSR Lib _
"C:\MyDllLibrary\BDF Formatting\BDFFormatting.dll" _
(ByRef FSString As Any, ByRef StrinLen As Integer) As...
September 16th, 2005, 12:31 PM
September 16th, 2005, 11:16 AM
Is there any work around for this tha I can implement?
September 15th, 2005, 03:11 PM
I have a dll that takes a string and character length. It is supposed to returned the string justified based on the character length (fixed field sizes). However, when the string returns from the...
Click Here to Expand Forum to Full Width
This is a CodeGuru survey question.