Problem compiling a dll app - stuck - help

clarion

    Next

  • 1. Are dynamically allocated objects deallocated on procedure return ?
    Hi all ! Is it possible to return a dynamically allocated object ? I've got this code: InternetResource.connect PROCEDURE() http &HttpInternetConnection CODE http &= NEW(HttpInternetConnection) SELF.log('Returning a NULL object: ' & CHOOSE(http &= NULL)) RETURN(http) The LOG method simply appends to an ASCII file. When reading my log, this message says "0", meaning False. At the call site, I have an equivalent message, which says "1", True. Here is part of the log: [Resource ] - 2004-11-22 8:54:28 - Scheme: http [Resource ] - 2004-11-22 8:54:28 - Instantiating an HTTP connection [Connection] - 2004-11-22 8:54:28 - Connection - opening request [Resource ] - 2004-11-22 8:54:28 - Returning a NULL object: 0 [Resource ] - 2004-11-22 8:54:28 - [AUTHZ-FR] connection is NULL: 1 What I'm trying to do here is implement an Abstract Factory. What I think I'm seeing here is that Clarion notices HTTP going out of scope, and deallocates the object on return. Is that what's going on, or am I doing something wrong ? Thanks for any help ! Franis
  • 2. Converting DBase Time Field
    I am in the process of converting (by importing) a simple DBase III file to Clarion TPS. The only problem I have is the 2 time fields in the DBase file are String 5 (i.e.: 10:00) and I need to convert them to Clarion time field types. I have deformated the DBase fields (i.e.: 1000) and have thought about striping the hour and minute values out into separate Clarion fields and the calculating the total tenths of seconds to convert to a Long in Clarion? I am scratching my head and feel I am creating more work then necessary Has anyone ever done this? Am I barking up the wrong tree???? Thanks Dick Fletcher Huber Heights, Ohio Clarion 5.5g
  • 3. Can I send email / fax from 5.5?
    Hi everyone. I am a very part-time user of Clarion (I have every version from Personal on 5.25's to 5.5), but have only used it to develop apps for my businesses. Each time I change careers I build a new application because there isn't anything out there that does exactly what I want it to do. New for this application: I now want to send email and faxes from the app I am making now. I have SilverWare for 2.003 - can I use that or is there something else that integrates easily and doesn't cost too much? (this is not an app I am not building to sell, just use myself) Also, it appears that Return Level:Fatal acts differently on different machines. Is this possible or am I working on this too late at night? :) PS This is my first app with 5.5, I kept my last one on 2.003 since I had years of work on it and had way too much embedded code to try to convert. TIA for any help. Jim
  • 4. File Processing Slows Down Considerably in Windows XP
    I have an appilication written in Clarion 5.0b. In it there is a file updating process function that accesses the tps files according to a key sequence, carries out some calculations and add the results to the file. It takes about 8 minutes to complete the process in Windows 98 or Me, but 6 hours for Windows XP. Has anyone experienced this problem before? Any help or suggestion will be greatly appreciated. Chris Chee

Problem compiling a dll app - stuck - help

Postby Ed Campbell » Thu, 07 Aug 2003 07:42:32 GMT

I am in the process of splitting one of my apps into dlls. I have run into a
problem that I haven't seen before and don't know what to do with.
I am creating a small app with only about 5 procedures. One of these is a
very large external source module.
When I try and compile this app it hangs on this procedure and eventually
gives me a fatal error.
The error box says that Clarion 5.5 32bit Server has encountered a problem
and needs to close.

Does anyone have any clue as to what is happening? This module in my regular
large app compiles fine. It takes a while but works okay.

I appear to be stuck until I resolve this, so any help would be appreciated.

Thanks - Ed Campbell
C55g



Re: Problem compiling a dll app - stuck - help

Postby Steve Wilson. » Thu, 07 Aug 2003 16:44:53 GMT

Hi Ed,

Letting others know how you solved it would be nice. They may have the same
problem!
Best Regards,

Steve.








into
a
eventually
problem



Similar Threads:

1.Problem with app compiling

Hi all,

I have a strange problem. On one computer application compiles with no
problems, but on two others I get always this same message:
*************************************
linking Tran61.exe
Making @Tran61.lnk
(Tran61.MAP 1,1) Link error: Unresolved External MEMORY in Tran61.obj
(Tran61.MAP 2,1) Link error: Unresolved External MEMORY in Tran61.obj 
(Tran61.MAP 3,1) Link error: Unresolved External MEMORY in Tran61.obj 
(Tran61.MAP 4,1) Link error: Unresolved External MEMORY in Tran61.obj 
(Tran61.MAP 5,1) Link error: Unresolved External MEMORY in Tran61.obj  
*************************************
- Tran61 being my app name.

I tried reinstalling Clarion but it did not help.

Thank You,
Adnan Selimovic.


2.shiftkey gets stuck in legacy apps

Hi,

I am getting this problem. I saw some posts about it years ago. I
wonder if it was ever fixed. It is a real problem to me. If anyone
knows about it being fixed please let me know.

John Nairn

3.Dll compiling problems

You should have a global template named Suppress Nettalk that should be
added to the dll if Nettalk is not supposed to be included.
The thing is that all classes with !ABCIincludefile in the top automatically
is linked into a ABC global dll.

Bjarne




"Jukka Pehkonen" < XXXX@XXXXX.COM > skrev i melding
news: XXXX@XXXXX.COM ...
> I am trying to compile the dlltutor example application that is included
> with Clarion. The problem is that when trying to compile the Allfiles.app
> file, the compiler gives many error messages about unresolved externals of
> functions that refer to nettalk.obj. The weird thing is that the nettalk
is
> not being used in the dlltutor application.
>
> The same problem also occurs when trying to compile my own dll files
(these
> dlls don't use nettalk functions).
>
> I am using Clarion 5.5H and Windows XP.
>
> Here is the list of errors when trying to compile Allfiles.app in the
> dlltutor example:
>
> Unresolved External NetDUNRenameDUN in nettalk.obj
> Unresolved External NetDUNDeleteDUN in nettalk.obj
> Unresolved External NetDUNChangeDUN in nettalk.obj
> Unresolved External NetDUNAddDUN in nettalk.obj
> Unresolved External NetDUNGetLastError in nettalk.obj
> Unresolved External NetDUNHangUp in nettalk.obj
> Unresolved External NetDUNDialDUN in nettalk.obj
> Unresolved External NetDUNGetDevices in nettalk.obj
> Unresolved External NetDUNGetDUNs in nettalk.obj
> Unresolved External NetDUNGetConnections in nettalk.obj
> Unresolved External NetDUNGetConnectionsStatus in nettalk.obj
> Unresolved External NetDUNObjectManager in nettalk.obj
> Unresolved External NetDUNObjectManager in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSetService in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectReceive in nettalk.obj
> Unresolved External NetSimpleConnectSend in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectOpen in nettalk.obj
> Unresolved External NetGetRegistry in nettalk.obj
> Unresolved External NetGetRegistry in nettalk.obj
> Unresolved External NetOptions in nettalk.obj
> Unresolved External NetRemote in nettalk.obj
> Unresolved External NetOptions in nettalk.obj
> Unresolved External NetBase64Encode in nettalk.obj
> Unresolved External NetBase64Encode in nettalk.obj
> Unresolved External NetCharSet in nettalk.obj
> Unresolved External NetQuotedPrintableDecode in nettalk.obj
> Unresolved External NetBase64Decode in nettalk.obj
> Unresolved External NetQuotedPrintableDecode in nettalk.obj
> Unresolved External NetQuotedPrintableDecode in nettalk.obj
> Unresolved External NetBase64Decode in nettalk.obj
> Unresolved External NetQuotedPrintableDecode in nettalk.obj
> Unresolved External NetQuotedPrintableDecode in nettalk.obj
> Unresolved External NetGetNetName in nettalk.obj
> Unresolved External NetGetNetName in nettalk.obj
> Unresolved External NetGetServer in nettalk.obj
> Unresolved External NetNotify in nettalk.obj
> Unresolved External NetSendBroadCast in nettalk.obj
> Unresolved External NetSend in nettalk.obj
> Unresolved External NetASend in nettalk.obj
> Unresolved External NetReceive in nettalk.obj
> Unresolved External NetSetService in nettalk.obj
> Unresolved External NetSetService in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleGetServerConnections in nettalk.obj
> Unresolved External NetSimpleGetServerConnections in nettalk.obj
> Unresolved External NetOptions in nettalk.obj
> Unresolved External NetOptions in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleGetServerConnections in nettalk.obj
> Unresolved External NetSimpleConnectReceive in nettalk.obj
> Unresolved External NetSimpleGetServerConnections in nettalk.obj
> Unresolved External NetSimpleGetServerConnections in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectSend in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectOpen in nettalk.obj
> Unresolved External NetErrorStr in nettalk.obj
> Unresolved External DOS in allfiles.obj
> Unresolved External DOS in allfiles.obj
> Unresolved External DOS in allfiles.obj
> Unresolved External DOS in allfiles.obj
> Unresolved External DOS in allfiles.obj
> Unresolved External DOS in nettalk.obj
> Unresolved External DOS in nettalk.obj
> Unresolved External DOS in nettalk.obj
> Unresolved External DOS in nettalk.obj
> Unresolved External DOS in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetQuotedPrintableEncode in nettalk.obj
> Unresolved External NetQuotedPrintableEncode in nettalk.obj
> Unresolved External NetGetTimeZone in nettalk.obj
> Unresolved External NetUUDecode in nettalk.obj
> Unresolved External NetSend in nettalk.obj
> Unresolved External NetASend in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleConnectClose in nettalk.obj
> Unresolved External NetSimpleGetServerConnections in nettalk.obj
> Unresolved External NetBase64Encode in nettalk.obj
> Unresolved External NetBase64Encode in nettalk.obj
>
> If you are replying by e-mail please remove 'eispammia' from the e-mail
> address.
>
>
>


4.Fail to load the compiled tclreg12.dll (was:load tk85.dll fail)

Dear All,

This was continued from my previous post "load tk85.dll fail"

I am still not able to resolve the problem, but I think am able to pin
point the problem now. I will explain it below.

1. I compile my own Tcl and Tk 8.5.7. with my notebook. And I load
tk85.dll on my notebook inside tcl shell. It works OK.   However it
fails on other machines (invalid argument)

2. I came back to Tcl/Tk 8.5.1. and compile it again. Now I can load
tk8.5 on all machines. And "package require registry" worked fine on
my notebook, but return "invalid argument" error on other machines.

3. I download the ActiveState Tcl/tk binary distribution, then install
it and try. It works well on all machines.

4. I use the tclreg12.dll from ActiveState to replace my (compiled)
tclreg12.dll. Now, it will work on all machines, with my own compiled
Tcl.

I checked the file size of the dll. My version is 18KB and ActiveState
version is 24KB. (I know this is a stupid way to compare, but at least
there is significant difference).

So, I guess I have done something wrong when compiling my own
tclreg12.dll. Can anyone help me a little on this ?

5.Noob stuck on first compile - stdio.h no such file

Hi,

I am trying to compile a hello world prog using gcc (also tried cc) on
my Linux (Ubuntu Feisty) box. I get:
test1.c:1:19: error: stdio.h: No such file or directory

I am sure it is a path issue or something similar to that but I can't
seem to find any info on this. Anyone got any ideas.

TIA

Regards

6. Help Please - Problems with Browse Window Display in Web Apps - C55

7. stuck with a recursion function help :)

8. binary search tree removal - stuck - HELP!!



Return to clarion

 

Who is online

Users browsing this forum: No registered users and 15 guest