| Reply | « Previous Thread | Next Thread » |
|
I'm writing a python module to talk to the IR port, the problem I have found is that when I declare the global variable "RCommServ server" I get a "ERROR: Dll 'SERIAL.PYD' has uninitialised data.", when I declare this variable in a function it works fine.
Why am I getting this error? How do I fix it? Thanks P.D: Below the piece of code where I declare the variable Code:
[.....]
_LIT(RS232,"ECUART");
_LIT(IRCOMM,"IRCOMM");
RCommServ server;
extern "C" PyObject *
Init(PyObject* /*self*/, PyObject *args)
{
[.....]
Code:
PETRAN - PE file preprocessor V01.00 (Build 183) Copyright (c) 1996-2001 Symbian Ltd. ERROR: Dll 'SERIAL.PYD' has uninitialised data. make[1]: *** [..\..\EPOC32\RELEASE\ARMI\UREL\SERIAL.PYD] Error -2 make: *** [TARGETSERIAL] Error 2 make -r -f "\Symbian\7.0s\Series60_v20\EPOC32\BUILD\SYMBIAN\7.0S\SERIES60_V20 \PYTHON\SERIAL\ARMI.make" FINAL CFG=UREL VERBOSE=-s c:\Symbian\7.0s\Series60_v20\python\serial>
Last edited by xchip : 2006-07-07 at 00:41.
|
|
Quote:
Welcome to Symbian world pyd debugging ![]() I already had this error ... In brief you can't have data in DLL but look atfor problem resolving ... http://www3.symbian.com/faq.nsf/0/CA...2?OpenDocument I'm happy that you dive into C++ symbian programming ![]() Please share your IR library when you have finished it ! pys60 1.4.5,1.9.7,pygame,PyS60 CE on E90 , N810 with Python 2.5.2 and ... last PyS60 1.9.7 with touch ui on 5800 ! pys60 extension modules on http://cyke64.googlepages.com/ |
|
Quote:
Anyways, because you are not porting code, it is better to use other methods (see the examples how to set global variables, SPyAddGlobalString etc). |
| simo.salminen |
| View Public Profile |
| Find all posts by simo.salminen |
| Reply | « Previous Thread | Next Thread » |
| Thread Tools | Search this Thread |
|---|---|
| Rate This Thread | |
| Thread | Thread Starter | Forum | Replies | Last Post |
|---|---|---|---|---|
| Problem MMC+USB Connection | Fede81 | General Discussion | 3 | 2006-07-19 16:21 |
| Control Pane problem | sriramadasu | General Symbian C++ | 1 | 2006-06-06 16:28 |
| A reward to resolve backlight control problem. | edcruise | General Symbian C++ | 0 | 2006-01-24 00:19 |
| Problem compiling BIOexample & BIOcontrol | tianlye | General Symbian C++ | 1 | 2003-02-18 19:31 |
| Problem in compiling from toolkit | Nokia_Archive | General Browsing | 1 | 2002-05-15 04:13 |